Helpful Information
 
 
Category: Tomcat
Tomcat -> disable access to certain extensions

That's right as the title says, i want to restrict access so that files with extensions wont be able to be accessed directly by users.

For example, how do i restrict users to access files with the extension <filename>.foo or the double extension <filename>.foo.bar ?
The thing is that i have jsp's that are being included in certain pages and i don't want those jsp pages to be accessed diretly. :)

I have a similar problem: deny access to the XML files containing configuration info that are read by the servlets and the JSP pages. Any idea? Thanks










privacy (GDPR)